package studio.raptor.dispatcher.server.dto;

import studio.raptor.hubout.sdk.sender.Response;

/**
 * @author jack
 * @since 1.0
 */
public class SendResponse {

  private String code;

  private String name;

  private String eventId;

  private Response response;


  public SendResponse(String code, String eventId,String name, Response response) {
    this.code = code;
    this.eventId = eventId;
    this.name = name;
    this.response = response;
  }

  public String getCode() {
    return code;
  }

  public void setCode(String code) {
    this.code = code;
  }

  public String getEventId() {
    return eventId;
  }

  public void setEventId(String eventId) {
    this.eventId = eventId;
  }

  public Response getResponse() {
    return response;
  }

  public void setResponse(Response response) {
    this.response = response;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  @Override
  public String toString() {
    return "SendResponse{" +
        "code='" + code + '\'' +
        ", name='" + name + '\'' +
        ", eventId='" + eventId + '\'' +
        ", response=" + response +
        '}';
  }
}
